RichTextView

constructor(context: Context, module: Module)

Constructs a new RichTextView.

Parameters

context

The Context the view is running in, through which it can access the current theme, resources, etc.

module

The Module data that defines the configuration for this rich text view, including initial HTML content, shadow effects, width, and height. Must not be null.

Throws

if module is null, as it's essential for configuring the view.